// Copyright 2023 Srhino Co., Ltd. All rights reserved.

package main

import (
	"context"
	v3 "git.ouryun.cn/lzj1/grpc-bidirectional-stream/pkg/services/v3"
	"log"
)

func main() {
	agent := v3.NewServerAgent(context.Background(), &v3.AgentConfig{
		WebAddress:  "127.0.0.1:10001",
		GrpcAddress: "127.0.0.1:10002",
	})
	if err := agent.Start(); err != nil {
		log.Print(err)
	}
	select {}
}
